// MLSDlg.h : header file
//

#pragma once
#include "afxwin.h"
#include "MLSChain.h"


// CMLSDlg dialog
class CMLSDlg : public CDialog
{
// Construction
public:
	CMLSDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_MLS_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
protected:
	CString NextDoc;
	CString PrevDoc;
	CMLSChain Chain;
public:
	CString FileName;
	CListBox DocList;
	afx_msg void OnBnClickedBrowse();
	afx_msg void OnLbnSelchangeDoclist();
protected:
	CString PathName;
public:
	afx_msg void OnBnClickedCode();
	afx_msg void OnBnClickedPreviewsel();
	afx_msg void OnBnClickedMove();
	afx_msg void OnBnClickedSetfirst();
	afx_msg void OnBnClickedBypage();
	afx_msg void OnBnClickedPreview();
	afx_msg void OnBnClickedHtml();
	afx_msg void OnBnClickedRtf();
};
